package com.xiaozhu.controller;

import com.xiaozhu.pojo.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author 朱慧军
 * @version 1.0
 *
 * 阿里云文件上传
 *
 */

@RestController
@RequestMapping("/update")
public class UpdateController {

    /**
     *
     * @param file 上传的文件
     * @return
     */
    @PostMapping
    public Result update(@RequestParam MultipartFile file) {
        return null;
    }
}
